﻿using System;
using System.Collections.Generic;
using System.Text;
using NHibernate;
using System.Collections;
using Cms.EntLib;
using System.Data;

namespace Cms.BLL
{
    public class Sys_Selfform : BaseDao<Model.Sys_Selfform , string>
    {
        public string GetListJson() {
            string result = "";
            //BLL.Sys_Selffom bll = new Sys_Selffom();
            IList ilist = BLL.Sys_Selfform.QueryToList("select ID,CAPTION,TABLENAME,RECTYPE FROM SYS_SELFFORM");
            result = Json.ToJson(ilist);
            return result;
        }
    }
}
